package com.example.entity;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author HY
 * @date 2025/2/18
 */
public class PetVaccine {
    private Integer id;
    private Integer userId;
    private String name;
    private String vaccineBrand;
    private String dosage;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String date;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVaccineBrand() {
        return vaccineBrand;
    }

    public void setVaccineBrand(String vaccineBrand) {
        this.vaccineBrand = vaccineBrand;
    }

    public String getDosage() {
        return dosage;
    }

    public void setDosage(String dosage) {
        this.dosage = dosage;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
